package com.woniuxy.adminmodel.form;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class DelAdminForm {
    @Min(value = 1,message = "管理员id是正整数")
    @NotNull(message = "管理员id不为空")
    private Integer adminId;
    @NotNull(message = "管理员状态不为空")
    @Min(1)
    @Max(3)
    private Integer adminState;
}
